package hexagone.utils;

public class PaireXY<X, Y> {

    protected final X x;
    protected final Y y;
    public PaireXY() {
        x = null;
        y = null;
    }
    public PaireXY(X x, Y y) {
        this.x = x;
        this.y = y;
    }
    public X _1() {
        return x;
    }
    public Y _2() {
        return y;
    }
    @Override
    public String toString() {
        return "(" + x + "," + y + ")";
    }
}
